package com.leo.springbootmultithreadbasic.buildthread.usethreadpool;

/**
 * <p><b>创建线程的方式四：使用线程池</b></p>
 *
 * @author Leo
 * @version V1.0
 * @date 2021/10/30 10:00 PM
 */
public class MainDemo {
    public static void main(String[] args) {
        testThreadPool();
    }

    public static void testThreadPool() {
        ThreadPoolConfig threadPoolConfig = new ThreadPoolConfig();
        threadPoolConfig.testThreadPool(new TaskRunnable());
    }
}
